import axios from '@/utils/request'
export interface loginForm{
    username:string,
    password:string
}
export const gologin=(data:loginForm)=>{
    return axios({
        url:'/api/users/login',
        method:'post',
        data
    })
}